package com.nbgs.demo.dao;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.nbgs.demo.controller.info.ConsumptionInfo;
import com.nbgs.demo.model.PaymentRecords;

public interface LikeMapper {
    //查询用水记录，可能涉及模糊查询年份，并有分页
    IPage<ConsumptionInfo> findWaterMessageByCardId(Page<ConsumptionInfo> page, String time,int cardId);

    //查询缴费记录，分页
    IPage<PaymentRecords> findPaymentRecordsByCardId(Page<PaymentRecords> page,int cardId);
}
